package com.matace.keychain.data;

import com.matace.keychain.R;
import com.matace.keychain.domain.MainPageRepository;

public class MainPageRepositoryImpl implements MainPageRepository {
    @Override
    public String getNavigationMessage(int itemId) {
        if (itemId == R.id.home) {
            return "功能";
        } else if (itemId == R.id.history) {
            return "学习";
        } else if (itemId == R.id.voice) {
            return "设置";
        } else if (itemId == R.id.profile) {
            return "我的";
        } else {
            return "";
        }
    }
} 